package com.kaifamiao.date1111;

import java.util.logging.Logger;

public class Owl extends Birds {
	
	private final Logger logger = Logger.getLogger( this.getClass().getName() );

	private String name ;
	
	public Owl(String name) {
		super();
		this.name = name;
	}

	@Override
	public void fly() {
		logger.info( this.name + "应该可以扑棱着翅膀飞起来" );
	}

	@Override
	public void eat(String food) {
		logger.info( this.name + "吃" + food );
	}

}
